<form>
<div id ="alertas"></div>
  <table>
    <tr>
      <td>Número do Lote</td>
    <td> <input name ='num_lote' size ='5' maxlength ='5'
	  id = 'num_lote' value ="<?= (isset($num_lote))? $num_lote: 1; ?>" disabled ></td>
    </tr>
    <tr>
      <td>Descricao</td>
      <td> <textarea name ='desc_lote' cols ='50' rows ='10' onkeyup ="noEnter(this,500)" 
	    id = 'desc_lote' ><?= isset($obj_licita)? $obj_licita: ""; ?></textarea>
      </td>
    </tr>
    <tr>
      <td>Quantidade</td>
      <td> <input name ='qtd_lote' size ='25' maxlength ='12' 
	    id = 'qtd_lote' onkeydown='mascara(this,soNumeros)'></td>
    </tr>
    <tr>
      <td>Valor do lote</td>
      <td> <input name ='valor_lote' size ='25' maxlength ='12' 
	    id = 'valor_lote' onkeydown='mascara(this,valor)'></td>
    </tr>
    <tr>
	<th colspan =" 2">Identifica&ccedil;&atilde;o do Vencedor:</th>
    </tr>
    <tr id ="tipoDoc">
	
      <td>
	<input type='radio' name='pegaTipoPessoa' value='84' checked> Pessoa F&iacute;sica
      <td>
	<input type='radio' name='pegaTipoPessoa' value='78' > Pessoa Jur&iacute;dica &nbsp;&nbsp
      </td>
    </tr>
    <tr>
      <td>CPF/CNPJ do vencedor</td>
      <td> <input name ='cnpj_venc_lote' size ='20' maxlength ='18' 
	    id = 'cnpj_venc_lote' value ='' onkeydown="mascara(this,'cnpj')"></td>
    </tr>
    <tr>
      <td>Nome/Razao social do vencedor</td>
      <td> <input name ='nome_venc_lote' size ='50' maxlength ='50' 
	    id = 'nome_venc_lote' value ='' ></td>
    </tr>
  </table>
<div id ="botoes" class ="fltrt">
  <button type = 'button' onclick = "salvar_lote()">Salvar Lote</button>
  <button type = 'button' onclick = "document.getElementById('caixapop1').value = '';
    document.getElementById('caixapop1').style.display = 'none';
    document.getElementById('fundo1').style.display = 'none';">Cancelar</button>
</div><br class ="clearfloat">
</form>